package com.bike.mapper;

import com.bike.entity.HhBusinessRecord;
import com.bike.entity.HhWithdraw;

import java.util.List;
import com.bike.util.PageData;
import com.github.miemiedev.mybatis.paginator.domain.PageBounds;

public interface HhBusinessRecordMapper {
    int deleteByPrimaryKey(Long businessRecordId);

    int insertSelective(HhBusinessRecord record);

    HhBusinessRecord selectByPrimaryKey(Long businessRecordId);

    int updateByPrimaryKeySelective(HhBusinessRecord record);

	List<HhBusinessRecord> selectByPage(PageData pd, PageBounds pageBounds);
	
	List<HhBusinessRecord> selectAll(PageData pd);

	int updateToSuccess(HhWithdraw hhWithdraw);
}